package com.example.firstapp.activity;

import android.app.Application;
import android.content.Context;
import android.content.SharedPreferences;

import com.example.firstapp.entity.Domain.Mode;
import com.example.firstapp.entity.Restaurant;
import com.example.firstapp.entity.UserPreference;

public class MobileApplication extends Application {
	private Mode mode;
	private UserPreference preference = new UserPreference();
	private Restaurant restaurant;
	private SharedPreferences sharedPref;

	public SharedPreferences getSharedPref() {
		return sharedPref;
	}

	public void setSharedPref(SharedPreferences sharedPref) {
		this.sharedPref = sharedPref;
	}

	public Mode getMode() {
		return mode;
	}

	public void setMode(Mode mode) {
		this.mode = mode;
	}

	public UserPreference getPreference() {
		return preference;
	}

	public void setPreference(UserPreference preference) {
		this.preference = preference;
	}

	public Restaurant getRestaurant() {
		return restaurant;
	}

	public void setRestaurant(Restaurant restaurant) {
		this.restaurant = restaurant;
	}
}
